# Create your models here.
from django.db import models


class BlogPost(models.Model):
    title = models.CharField(max_length=150)
    body = models.TextField()
    timestamp = models.DateTimeField()


class Img(models.Model):
    img_url = models.ImageField(upload_to='img')
    name = models.CharField(max_length=20)
